<?php
session_start();
require '../nette/Nette/loader.php';
require '../db.php';
require '../localization/lang.php';
require '../core/core.sanitizer.php';
require '../core/core.security.php';
require '../core/core.time.php';
require '../core/core.jobs.php';


$login=new core_security;
$loc=new loc;
if ($login->checklogin()=="OK") {
if (isset($_POST['value'])) {
	$timepart=explode(":",$_POST['value']);
	$pattern="/[0-9]{1,2}:[0-9]{1,2}/";
	$pattern2="/[0-9]{1,2}/";
	if (preg_match($pattern, $_POST['value'])) {
	echo "";
	} else { if (preg_match($pattern2, $_POST['value'])) {
		echo "";
		}else {echo $loc->time_time_missmatch;}} 
	}
}
?>
